
# define _CRT_SECURE_NO_WARNINGS 1
# include<stdio.h>
int main()
{ 
	int a = 0;
	scanf("%d", &a);
	int c = a % 5;
	if (c == 0 and a>=5)
		printf("Yes/n");
	else
		printf("No/n");
	    return 0;
}